<?

/**
* First Menu login
*
* @param  string    $message      user message
*
*/
function procLogin(&$message){
  
  /**
  * If we have flash message set 
  * meaning the login has failed or 
  * something happened
  *
  */
  if($message){
    
    $theLabel = $message;
  }else{
    
    $theLabel = "Login";
  }
  
  echo  "<p align='center'><br/><br/><br/><br/><b>.:".$theLabel.":.</b></p>".
      	"<form action=# method=post>".
        " <table border=1 align='center'>".
        "  	<tr >".
        "		<td ><p>ID   </td><td ><input type=text     name='user' size='20' maxlength='20'> </p></td></tr>".
        "		<tr >".
        "		<td ><p>Pass </td><td ><input type=password name='pass' size='20' maxlength='20'> </p></td></tr>".
        "		</center>".
        "	</table>".
        "	<p align='center'><input type='submit' value='Login' name='continue' align='center'> </p>".
      	"</form>".
      	"</p>";
}

?>